import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: import('../views/home/index.jsx')
    },
    {
      path: '/',
      name: 'find',
      component: import('../views/find/index.jsx')
    },
    {
      path: '/',
      name: 'hot',
      component: import('../views/hot/index.jsx')
    },
    {
      path: '/',
      name: 'plaza',
      component: import('../views/plaza/index.jsx')
    },
    {
      path: '/',
      name: 'profile',
      component: import('../views/profile/index.jsx')
    },
    {
      path: '/',
      name: 'search',
      component: import('../views/search/index.jsx')
    }
  ]
})

export default router
